package pl.lodz.p.services;

import java.util.List;

import pl.lodz.p.model.User;
import pl.lodz.p.model.enums.AccountType;
import pl.lodz.p.model.enums.Gender;

public interface UserService {

	public String newUser(User u);
	
	public String saveUser(User u);
	
	public List<User> findAll();
	
	public User findByLogin(String login);
	
	public List<User> findByLoginLike(String query);

	public List<User> findByMany(String firstName, String lastName,
			String pesel, Boolean active, Gender gender, AccountType accType);

	public User update(User loggedUser);

	public List<User> findDoctors();
	
}
